/**
 * 险金导入
 * @deprecated
 */
import { connect } from 'dva'
import { withRoutePage } from '@/utils/enhanceUtils'
import ExcelList from '@/pages/SalaryManage/SalaryCalculate/ImportExcel/ExcelList'

export default withRoutePage(
    connect(({ salaryPayrollSocialModel, loading, user }) => ({
        ...salaryPayrollSocialModel,
        loading,
        dispatchType: {
            initType: 'salaryPayrollSocialModel/init',
            changePeriodType: 'salaryPayrollSocialModel/changePeriod',
            searchType: 'salaryPayrollSocialModel/search',
            tablePageChangeType: 'salaryPayrollSocialModel/tablePageChange',
            showImportDialogType: 'salaryPayrollSocialModel/showImportDialog'
        },
        showTemplateButton: false,
        uploadAction: '/api/finance/salary/v1/import/social',
        user
    }))(ExcelList)
)
